package itheima.chap08;

public class DebugDemo {
    public static void main(String[] args) {
        System.out.println("程序开始执行...");
        int[] arr = {10, 20, 30, 40, 50};
        printArray(arr);
        System.out.println("程序结束...");
    }
    public static void printArray(int[] arr) {
        int i = 0;
        while(i < arr.length){
            System.out.println(arr[i]);
            i++;
        }
    }
}
